package com.marketapp.dao;

import java.util.List;

import com.marketapp.domain.Equity;
import com.marketapp.domain.Sector;
import com.marketapp.helper.DaoException;

public interface ISectorDao {
	
	public Sector getSectorById(int sector_id)throws DaoException;
	
	public List<Sector> getAllSector()throws DaoException;
	
	public void saveSector(Sector sector) throws DaoException; 
	
	public List<Sector> getSectorByName(String sector_name)throws DaoException;
	
	public List<Sector> searchSectorByName(String sector_name)throws DaoException;

}
